import { getAxios, postAxios } from '@/service/request'

export const TestApi = {
  getList: (params) => {
    return getAxios('mock/test/getList', params)
  },
  addItem: (data, source) => {
    return postAxios('mock/test/addItem', data, { cancelToken: source ? source.token : '' })
  }
}
